//
//  SendGiftView.h
//  linktuIOS
//
//  Created by 章为 on 16/5/30.
//  Copyright © 2016年 张伟. All rights reserved.
//

#import <UIKit/UIKit.h>
@class giftModel;
@class ShakeLabel;
@class HPresentGiftModel;

typedef NS_ENUM(NSInteger, GiftMoveStatus) {
    Prepare,
    
    Transfroming,
    TransfromEnd,
    
    Scaleing,
    ScaleEnd,
    
    Keeping,
    KeepEnd
};

@interface SendGiftView : UIView
+(instancetype)sendGiftView;
@property (weak, nonatomic) IBOutlet ShakeLabel *numberLabel;
@property(nonatomic,strong) LTMessageGiftBody *model;
@property(nonatomic,strong) LTUser *userinfo;
@property(nonatomic,assign) BOOL ishidden;
-(void)scaleAnmation;
-(void)GiftAnimation;
-(void)AnimationWithmodel:(LTMessageGiftBody *)model Anduserinfo:(LTUser *)userinfo number:(NSString *)numberstr;



//new
-(void)ScaleNumberlable;
-(void)translationAnimation;

@property(nonatomic,assign) GiftMoveStatus state;

@property(nonatomic,strong) NSMutableArray *dataSource;

-(HPresentGiftModel *)nextgiftmessage;
+(instancetype)giftview;

@property(nonatomic,copy) BOOL (^moveBlock)(SendGiftView *view, GiftMoveStatus status);
@property(nonatomic,copy) NSString *userID;

//@property(nonatomic,strong) HPresentGiftModel *presentModel;


@end
